﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Palletizing.aspx.cs" Inherits="WMS6.Web.Inbound.Palletizing"
    meta:resourcekey="Page" %>

<%@ Register Src="../UserControls/Pager.ascx" TagName="Pager" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Palletizing</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/jquery.blockUI.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        
        function newPalletizing()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "Palletizing.aspx?from=" + escape(from);
            return false;
        }        
        	//隐藏 报表 DIV
		function hiddenReportDiv()
		{
			var flag = document.getElementById("hiddenReportFlag").value
			if(flag == "1")
			{
				document.getElementById("reportDiv").style.display = "block";
				document.getElementById("hiddenReportFlag").value = '0';
			}
			else 
			{
				document.getElementById("reportDiv").style.display = "none";
			}
		}
			//显示 报表 DIV
		function showReport()
		{	
			var pos = getElementPos("htmlbtnReport");	
			document.getElementById("reportDiv").style.top = pos.y+17;
			document.getElementById("reportDiv").style.left = pos.x;  			
			document.getElementById("hiddenReportFlag").value = '1';
		}
		//弹出 打印 入库验收单 的窗口
        function popPrintReceipt()
        {
            var receiptID = document.getElementById("txtReceiptID").value;
            var OwnerID= document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=printreceipt&receiptID=' + escape(receiptID)+'&OwnerID='+escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
      
        //锁屏
		function blockScreen()
		{
		    //锁屏
		    $.blockUI.defaults.message = GetBlockUIMsg();
            $.blockUI.defaults.overlayCSS.backgroundColor = GetBlockUIBgColor();
            $.blockUI();
		}
    </script>

</head>
<body>
    <form id="F4016" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblOwner" runat="server" CssClass="label_header" Text="码盘明细列表" meta:resourcekey="lblOwner"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnGoBack" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnGoBack%>"
                            CausesValidation="False" OnClick="btnGoBack_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnPalletizing" runat="server" CssClass="button" Enabled="False"
                            Text="<%$Resources:ButtonResource,btnPalletizing%>" OnClientClick="blockScreen();"
                            AccessKey="s" OnClick="btnBtnPalletizing_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnCancelPalletizing" runat="server" CssClass="button" Enabled="False"
                            OnClientClick="blockScreen();" Text="<%$Resources:ButtonResource,btnCancelPalletizing%>"
                            AccessKey="s" OnClick="btnCancelPalletizing_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnDelete" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnDelete%>"
                            AccessKey="d" OnClick="btnDelete_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnCopy" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnCopy%>"
                            Visible="False" AccessKey="c" OnClick="btnCopy_Click" />
                    </td>
                    <td>
                    </td>
                    <td>
                        <input id="htmlbtnReport" type="button" runat="server" value="<%$Resources:ButtonResource,btnReport%>"
                            class="button" onclick="showReport();" />
                    </td>
                </tr>
            </table>
        </div>
        <%--<asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>--%>
        <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
        </div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL" id="divL1">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur" onclick="setTab('one',1,6)"
                id="divM1">
                <asp:Label ID="one1" CssClass="hover" runat="server" meta:resourcekey="one1">基本信息</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="divR1">
                </div>
            </div>
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL2">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,6);"
                id="divM2">
                <asp:Label ID="one2" CssClass="navigationlabel" runat="server" meta:resourcekey="one2">&nbsp;供应商&nbsp;</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR2">
                </div>
            </div>
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL3">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',3,6);"
                id="divM3">
                <asp:Label ID="one3" CssClass="navigationlabel" runat="server" meta:resourcekey="one3">&nbsp;承运商&nbsp;</asp:Label></div>
            <div style="float: left; margin-right: 3px;">
                <div class="tabR_1" id="divR3">
                </div>
            </div>
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL4">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',4,6);"
                id="divM4">
                <asp:Label ID="one4" CssClass="navigationlabel" runat="server" meta:resourcekey="one4">&nbsp;运输&nbsp;</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR4">
                </div>
            </div>
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL5">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',5,6);"
                id="divM5">
                <asp:Label ID="one5" CssClass="navigationlabel" runat="server" meta:resourcekey="one5">自定义字段</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR5">
                </div>
            </div>
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL6">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',6,6);"
                id="divM6">
                <asp:Label ID="one6" CssClass="navigationlabel" runat="server" meta:resourcekey="one6">入库通知明细</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR6">
                </div>
            </div>
        </div>
        <div id="div_content">
            <div id="con_one_1" style="display: block;">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblReceiptID" CssClass="label" runat="server" Text="入库通知单号" meta:resourcekey="lblReceiptID"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblStatus" CssClass="label" runat="server" Text="状态" meta:resourcekey="lblStatus"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblPoID" runat="server" CssClass="label" Text="采购订单号" meta:resourcekey="lblPoID"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblReceiptDate" CssClass="label" runat="server" Text="收货日期" meta:resourcekey="lblReceiptDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtReceiptID" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtReceiptID"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox" Enabled="False"
                                meta:resourcekey="ddlStatus">
                            </asp:DropDownList>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtPoID" runat="server" Enabled="False" CssClass="textbox" meta:resourcekey="txtPoID"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtReceiptDate" runat="server" Enabled="False" CssClass="textbox"
                                onblur="Javascript:dataVer._IsTime(this,'lblMsg')" meta:resourcekey="txtReceiptDate"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblOwnerID" runat="server" CssClass="label" Text="货主代码" meta:resourcekey="lblOwnerID"></asp:Label><font
                                class="must_input">*</font>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblReceiptType" runat="server" CssClass="label" Text="类型" meta:resourcekey="lblReceiptType"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblExternalReceiptID" runat="server" CssClass="label" Text="外部入库单号"
                                meta:resourcekey="lblExternalReceiptID"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblExpetedReceiptDate" runat="server" CssClass="label" Text="预期到货日期"
                                meta:resourcekey="lblExpetedReceiptDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtOwnerID"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:DropDownList ID="ddlReceiptType" runat="server" CssClass="mediumselectbox" Enabled="False"
                                meta:resourcekey="ddlReceiptType">
                            </asp:DropDownList>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtExternalReceiptID" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtExternalReceiptID"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtExpetedReceiptDate" runat="server" CssClass="textbox" Enabled="False"
                                onblur="Javascript:dataVer._IsTime(this,'lblMsg')" meta:resourcekey="txtExpetedReceiptDate"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblTotalExceptQty" runat="server" CssClass="label" Text="总预期量" meta:resourcekey="lblTotalExceptQty"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblTotalReceiptQty" runat="server" CssClass="label" Text="总接收量" meta:resourcekey="lblTotalReceiptQty"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblPackingSlipNumber" runat="server" CssClass="label" Text="装箱单号"
                                meta:resourcekey="lblPackingSlipNumber"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblRma" runat="server" CssClass="label" Text="RMA号" meta:resourcekey="lblRma"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtTotalExceptQty" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtTotalExceptQty"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtTotalReceiptQty" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtTotalReceiptQty"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtPackingSlipNumber" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtPackingSlipNumber"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtRma" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtRma"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblTotalGrossWeight" runat="server" CssClass="label" Text="总毛重" meta:resourcekey="lblTotalGrossWeight"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblTotalCube" runat="server" CssClass="label" Text="总体积" meta:resourcekey="lblTotalCube"></asp:Label>
                        </td>
                        <td width="180px">
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblWareHouseRef" runat="server" CssClass="label" Text="仓库参考信息" meta:resourcekey="lblWareHouseRef"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtTotalGrossWeight" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtTotalGrossWeight"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtTotalCube" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtTotalCube"></asp:TextBox>
                        </td>
                        <td width="180px">
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtWareHouseRef" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtWareHouseRef"></asp:TextBox>
                        </td>
                    </tr>
                    <tr style="height: 10px;">
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="con_one_2" style="display: none;">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblVendorID" runat="server" CssClass="label" Text="供应商代码" meta:resourcekey="lblVendorID"></asp:Label>
                        </td>
                        <td width="360px" colspan="2">
                            <asp:Label ID="lblVendorName" runat="server" CssClass="label" Text="供应商名称" meta:resourcekey="lblVendorName"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblVendorRef" runat="server" CssClass="label" Text="供应商参考信息" meta:resourcekey="lblVendorRef"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtVendorID" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtVendorID"></asp:TextBox>
                        </td>
                        <td width="360px" colspan="2">
                            <asp:TextBox ID="txtVendorName" runat="server" CssClass="largetextbox" Enabled="False"
                                meta:resourcekey="txtVendorName"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtVendorRef" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtVendorRef"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblVendorCity" runat="server" CssClass="label" Text="城市" meta:resourcekey="lblVendorCity"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblVendorProv" runat="server" CssClass="label" Text="省份" meta:resourcekey="lblVendorProv"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblVendorZip" runat="server" CssClass="label" Text="邮编" meta:resourcekey="lblVendorZip"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblVendorCountry" runat="server" CssClass="label" Text="国家" meta:resourcekey="lblVendorCountry"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtVendorCity" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtVendorCity"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtVendorProv" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtVendorProv"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtVendorZip" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtVendorZip"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtVendorCountry" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtVendorCountry"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px" colspan="2">
                            <asp:Label ID="lblVendorAddress" runat="server" CssClass="label" Text="地址" meta:resourcekey="lblVendorAddress"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblVendorPhone" runat="server" CssClass="label" Text="电话" meta:resourcekey="lblVendorPhone"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblVendorContact" runat="server" CssClass="label" Text="联系人" meta:resourcekey="lblVendorContact"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px" colspan="2" rowspan="3">
                            <asp:TextBox ID="txtVendorAddress" runat="server" CssClass="largetextarea" Enabled="False"
                                TextMode="MultiLine" meta:resourcekey="txtVendorAddress"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtVendorPhone" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtVendorPhone"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtVendorContact" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtVendorContact"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblVendorFax" runat="server" CssClass="label" Text="传真" meta:resourcekey="lblVendorFax"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="lblVendorEmail" runat="server" CssClass="label" Text="Email" meta:resourcekey="lblVendorEmail"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtVendorFax" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtVendorFax"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtVendorEmail" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtVendorEmail"></asp:TextBox>
                        </td>
                    </tr>
                    <tr style="height: 10px;">
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="con_one_3" style="display: none;">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblCarrierID" runat="server" CssClass="label" Text="承运商代码" meta:resourcekey="lblCarrierID"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblCarrierName" runat="server" CssClass="label" Text="承运商名称" meta:resourcekey="lblCarrierName"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="Label17" runat="server" CssClass="label" Text="承运商参考信息" meta:resourcekey="Label17"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="Label18" runat="server" CssClass="label" Text="到货日期" meta:resourcekey="Label18"></asp:Label><font
                                class="must_input">*</font>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtCarrierID" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtCarrierID"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtCarrierName" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtCarrierName"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="TextBox18" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="TextBox18"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox19" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="TextBox19"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblCarrierCity" runat="server" CssClass="label" Text="城市" meta:resourcekey="lblCarrierCity"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblCarrierProv" runat="server" CssClass="label" Text="省份" meta:resourcekey="lblCarrierProv"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblCarrierZIP" runat="server" CssClass="label" Text="邮编" meta:resourcekey="lblCarrierZIP"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblCarrierCountry" runat="server" CssClass="label" Text="国家" meta:resourcekey="lblCarrierCountry"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtCarrierCity" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtCarrierCity"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtCarrierProv" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtCarrierProv"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtCarrierZIP" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtCarrierZIP"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtCarrierCountry" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtCarrierCountry"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px" colspan="2">
                            <asp:Label ID="lblCarrierAddress" runat="server" CssClass="label" Text="地址" meta:resourcekey="lblCarrierAddress"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblCarrierPhone" runat="server" CssClass="label" Text="电话" meta:resourcekey="lblCarrierPhone"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblCarrierContact" runat="server" CssClass="label" Text="联系人" meta:resourcekey="lblCarrierContact"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px" colspan="2" rowspan="3">
                            <asp:TextBox ID="txtCarrierAddress" runat="server" CssClass="largetextarea" TextMode="MultiLine"
                                Enabled="False" meta:resourcekey="txtCarrierAddress"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtCarrierPhone" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtCarrierPhone"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtCarrierContact" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtCarrierContact"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblCarrierFax" runat="server" CssClass="label" Text="传真" meta:resourcekey="lblCarrierFax"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="lblCarrierMail" runat="server" CssClass="label" Text="Email" meta:resourcekey="lblCarrierMail"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtCarrierFax" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtCarrierFax"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCarrierMail" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtCarrierMail"></asp:TextBox>
                        </td>
                    </tr>
                    <tr style="height: 10px;">
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="con_one_4" style="display: none;">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblVehicleNumber" runat="server" CssClass="label" Text="运输工具号" meta:resourcekey="lblVehicleNumber"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblSrcCountry" runat="server" CssClass="label" Text="出发国家" meta:resourcekey="lblSrcCountry"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblContainerType" runat="server" CssClass="label" Text="集装箱类型" meta:resourcekey="lblContainerType"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblArrivalDate" runat="server" CssClass="label" Text="到货日期" meta:resourcekey="lblArrivalDate"></asp:Label><font
                                class="must_input">*</font>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtVehicleNumber" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtVehicleNumber"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtSrcCountry" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtSrcCountry"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtContainerType" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtContainerType"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtArrivalDate" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtArrivalDate"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblTransportationMode" runat="server" CssClass="label" Text="运输方式"
                                meta:resourcekey="lblTransportationMode"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblDestCountry" runat="server" CssClass="label" Text="目的国家" meta:resourcekey="lblDestCountry"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblContainerQty" runat="server" CssClass="label" Text="数量" meta:resourcekey="lblContainerQty"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblCarrierRef" runat="server" CssClass="label" Text="承运商参考信息" meta:resourcekey="lblCarrierRef"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtTransportationMode" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtTransportationMode"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtDestCountry" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtDestCountry"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtContainerQty" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtContainerQty"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtCarrierRef" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtCarrierRef"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblPaymentTerm" runat="server" CssClass="label" Text="付款条款" meta:resourcekey="lblPaymentTerm"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblPlaceOfLoading" runat="server" CssClass="label" Text="装货地" meta:resourcekey="lblPlaceOfLoading"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblTrailerNumber" runat="server" CssClass="label" Text="拖车号" meta:resourcekey="lblTrailerNumber"></asp:Label>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtPaymentTerm" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtPaymentTerm"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtPlaceOfLoading" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtPlaceOfLoading"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtTrailerNumber" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtTrailerNumber"></asp:TextBox>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblIncoTerms" runat="server" CssClass="label" Text="交货条款" meta:resourcekey="lblIncoTerms"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblPlaceOfDischarge" runat="server" CssClass="label" Text="卸货地" meta:resourcekey="lblPlaceOfDischarge"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblTrailerOwner" runat="server" CssClass="label" Text="车主" meta:resourcekey="lblTrailerOwner"></asp:Label>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtIncoTerms" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtIncoTerms"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtPlaceOfDischarge" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtPlaceOfDischarge"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtTrailerOwner" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtTrailerOwner"></asp:TextBox>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            &nbsp;
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblPlaceOfDelivery" runat="server" CssClass="label" Text="送货地" meta:resourcekey="lblPlaceOfDelivery"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblDriverName" runat="server" CssClass="label" Text="司机" meta:resourcekey="lblDriverName"></asp:Label>
                        </td>
                        <td width="180px">
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            &nbsp;
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtPlaceOfDelivery" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtPlaceOfDelivery"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtDriverName" runat="server" CssClass="textbox" Enabled="False"
                                meta:resourcekey="txtDriverName"></asp:TextBox>
                        </td>
                        <td width="180px">
                        </td>
                    </tr>
                    <tr style="height: 10px;">
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="con_one_5" style="display: none;">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblUdf1" runat="server" CssClass="label" Text="自定义字段01" meta:resourcekey="lblUdf1"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblUdf6" runat="server" CssClass="label" Text="自定义字段06" meta:resourcekey="lblUdf6"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblCreatedBy" runat="server" CssClass="label" Text="制单人" meta:resourcekey="lblCreatedBy"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblCreatedDate" runat="server" CssClass="label" Text="制单日期" meta:resourcekey="lblCreatedDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf1" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtUdf1"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf6" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtUdf6"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtCreatedBy" runat="server" Enabled="False" CssClass="textbox"
                                meta:resourcekey="txtCreatedBy"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtCreatedDate" runat="server" Enabled="False" CssClass="textbox"
                                meta:resourcekey="txtCreatedDate"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblUdf2" runat="server" CssClass="label" Text="自定义字段02" meta:resourcekey="lblUdf2"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblUdf7" runat="server" CssClass="label" Text="自定义字段07" meta:resourcekey="lblUdf7"></asp:Label>
                        </td>
                        <td width="360px" colspan="2">
                            <asp:Label ID="lblRemark" runat="server" CssClass="label" Text="备注" meta:resourcekey="lblRemark"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf2" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtUdf2"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf7" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtUdf7"></asp:TextBox>
                        </td>
                        <td width="360px" colspan="2" rowspan="3">
                            <asp:TextBox ID="txtRemark" runat="server" CssClass="largetextarea" Enabled="False"
                                TextMode="MultiLine" meta:resourcekey="txtRemark"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblUdf3" runat="server" CssClass="label" Text="自定义字段03" meta:resourcekey="lblUdf3"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblUdf8" runat="server" CssClass="label" Text="自定义字段08" meta:resourcekey="lblUdf8"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf3" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtUdf3"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf8" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtUdf8"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblUdf04" runat="server" CssClass="label" Text="自定义字段04" meta:resourcekey="lblUdf04"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblUdf09" runat="server" CssClass="label" Text="自定义字段09" meta:resourcekey="lblUdf09"></asp:Label>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf4" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtUdf4"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf9" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtUdf9"></asp:TextBox>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblUdf5" runat="server" CssClass="label" Text="自定义字段05" meta:resourcekey="lblUdf5"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblUdf10" runat="server" CssClass="label" Text="自定义字段10" meta:resourcekey="lblUdf10"></asp:Label>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf5" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtUdf5"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf10" runat="server" CssClass="textbox" Enabled="False" meta:resourcekey="txtUdf10"></asp:TextBox>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr style="height: 10px;">
                        <td colspan="4">
                        </td>
                    </tr>
                </table>
            </div>
            <asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
                <ContentTemplate>
                    <div id="con_one_6" style="display: none; overflow-x: auto; overflow-y: hidden;">
                        <table width="900px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td>
                                    <table>
                                        <tr>
                                            <td>
                                                <asp:Button ID="btnAdd" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnAddDetail%>"
                                                    OnClientClick="javascript:if(document.getElementById('hdnReceiptID').value == ''){if(confirm('入库通知单主信息尚未保存,是否继续,继续则自动保存主信息.')) return true; else return false;}"
                                                    OnClick="btnAdd_Click" />
                                            </td>
                                            <td>
                                                <asp:Button ID="btnDeleteDetail" runat="server" CssClass="button" Enabled="False"
                                                    Text="<%$Resources:ButtonResource,btnDeleteDetail%>" OnClientClick="javascript:if(confirm('确定要删除这几条明细吗?')) return true; else return false;"
                                                    OnClick="btnDeleteDetail_Click" />
                                            </td>
                                             <td width="10px"></td>
                                                     <td ><asp:Label ID="lblSkuQuery" runat="server" CssClass="label" Text="货品代码" ></asp:Label> <asp:TextBox ID="txtSkuQuery" runat="server"  CssClass="textbox" Width="100px" ></asp:TextBox>
                                                    <asp:Label ID="lblStatusQuery" runat="server" CssClass="label" Text="状态" ></asp:Label>  <asp:DropDownList ID="ddlStatusQuery" runat="server" CssClass="selectbox" ></asp:DropDownList>
                                                 
                                                   <asp:Button ID="btnQuery" runat="server" CssClass="button"  Text="<%$Resources:ButtonResource,btnSearch%>"
                                                       OnClick="btnQuery_Click"  OnClientClick="blockScreen();"     />
                                                 </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div>
                                        <asp:GridView ID="gvReceiptDetail" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                            CssClass="gridview" AllowPaging="True" OnPageIndexChanging="gvReceiptDetail_PageIndexChanging"
                                            DataKeyNames="RECEIPT_ID,RECEIPT_LINE_ID" Width="1800px" OnRowDataBound="gvReceiptDetail_RowDataBound"
                                            OnInit="gvReceiptDetail_Init" OnSorting="gvReceiptDetail_Sorting" meta:resourcekey="gvReceiptDetail">
                                            <FooterStyle CssClass="GridViewFooterStyle" />
                                            <RowStyle CssClass="GridViewRowStyle" />
                                            <HeaderStyle CssClass="GridViewHeaderStyle" />
                                            <PagerStyle CssClass="GridViewPageStyle" />
                                            <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                            <Columns>
                                                <asp:TemplateField meta:resourcekey="TemplateField">
                                                    <HeaderTemplate>
                                                        <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('4016','gvReceiptDetail');"
                                                            onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                                        <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvReceiptDetail');"
                                                            meta:resourcekey="CheckBox1" />
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelect" />
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvReceiptDetail');"
                                                            meta:resourcekey="CheckBox2" />
                                                    </FooterTemplate>
                                                    <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                                    <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                                </asp:TemplateField>
                                                <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                                    <ItemStyle CssClass="GridViewRowWidth_40" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="RECEIPT_LINE_ID" HeaderText="行号" FooterText="行号" SortExpression="RD.RECEIPT_LINE_ID"
                                                    meta:resourcekey="ReceiptLineID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="LPN_ID" HeaderText="LPN" FooterText="LPN" SortExpression="RD.LPN_ID"
                                                    meta:resourcekey="LpnID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="OWNER_ID" HeaderText="货主代码" FooterText="货主代码" SortExpression="RD.OWNER_ID"
                                                    meta:resourcekey="OwnerID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="SKU_ID" HeaderText="货品代码" FooterText="货品代码" SortExpression="RD.SKU_ID"
                                                    meta:resourcekey="SkuID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:TemplateField FooterText="货品描述" HeaderText="货品描述" SortExpression="SKU.Descr"
                                                    meta:resourcekey="SkuDescr">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblSkuDescr" runat="server" Text='<%# Eval("SKU_DESCR").ToString() %>'
                                                            meta:resourcekey="lblSkuDescr"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_200" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="PACK_ID" HeaderText="包装" FooterText="包装" SortExpression="RD.PACK_ID"
                                                    meta:resourcekey="PackID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="UOM_ID" HeaderText="计量单位" FooterText="计量单位" SortExpression="RD.UOM_ID"
                                                    meta:resourcekey="UomID">
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="STATUS_D" HeaderText="状态" FooterText="状态" SortExpression="RD.STATUS"
                                                    meta:resourcekey="StatusD">
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:BoundField>
                                                <asp:TemplateField FooterText="预期量" HeaderText="预期量" SortExpression="RD.EXPECTED_QTY"
                                                    meta:resourcekey="ExpectedQty">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblExpectedQty" runat="server" Text='<%# GetPreferenceDigit(Eval("EXPECTED_QTY").ToString()) %>'
                                                            meta:resourcekey="lblExpectedQty"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:TemplateField>
                                                <asp:TemplateField FooterText="接收量" HeaderText="接收量" SortExpression="RD.RECEIVED_QTY"
                                                    meta:resourcekey="RECEIVEDQTY">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblRECEIVEDQTY" runat="server" Text='<%# GetPreferenceDigit(Eval("RECEIVED_QTY").ToString()) %>'
                                                            meta:resourcekey="lblRECEIVEDQTY"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="PO_ID" HeaderText="采购订单号" FooterText="采购订单号" SortExpression="RD.PO_ID"
                                                    meta:resourcekey="POID">
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:BoundField>
                                                <asp:TemplateField FooterText="入库时间" HeaderText="入库时间" SortExpression="RD.RECEIVEDDATE"
                                                    meta:resourcekey="RECEIVEDDATE">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblExpectedReceiptDate" runat="server" Text='<%# GetPreferenceShortDate(Eval("RECEIVED_DATE").ToString()) %>'
                                                            meta:resourcekey="lblExpectedReceiptDate"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="TO_LOC" HeaderText="货位" FooterText="货位" SortExpression="RD.ToLoc"
                                                    meta:resourcekey="ToLoc">
                                                    <ItemStyle CssClass="GridViewRowWidth_150" />
                                                </asp:BoundField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                    <div>
                                        <uc1:Pager ID="PagerFooter" runat="server" OnFirst="btnFirst_Click" OnPrevious="btnPrevious_Click"
                                            OnNext="btnNext_Click" OnLast="btnLast_Click" OnGoTo="GoTo_Click" />
                                    </div>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 30px;">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                        <div style="margin-left: 10px">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td class="Result_01">
                                        总计：
                                    </td>
                                    <td class="Result_02">
                                        <table>
                                            <tr>
                                                <td style="margin-right: 20px;">
                                                    &nbsp; &nbsp;
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblTotalExpected" runat="server" Text="预期量:" class="label"></asp:Label><asp:Label
                                                        ID="lblTotalExpectedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblTotalReceived" runat="server" Text="接收量:" class="label"></asp:Label><asp:Label
                                                        ID="lblTotalReceivedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td class="Result_03">
                                    </td>
                                </tr>
                                <tr style="height: 20px">
                                    <td>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        <div id="reportDiv" style="background-color: #FFFFFF; position: absolute; display: none;">
            <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu2">
                <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                    <td class="line" id="tdlnkbtnPrintReceipt" runat="server" visible="false">
                        <asp:LinkButton ID="lnkbtnPrintReceipt" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintReceipt%>"
                            OnClientClick="popPrintReceipt();"></asp:LinkButton>
                    </td>
                </tr>
            </table>
        </div>
        <input type="hidden" id="hdnLineID" runat="server" />
        <input type="hidden" id="hdnReceiptID" runat="server" />
        <input type="hidden" id="hdnFlag" runat="server" value="0" />
        <input type="hidden" id="hiddenReportFlag" />
        <input type="hidden" id="hdnIspalletized" runat="server" />
        <%--</ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btnCopy" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>--%>
        <input type="hidden" id="hdnFrom" runat="server" />
        <input type="hidden" id="hdnInport" runat="server" value="N" />
    </div>
    </form>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
		hiddenReportDiv();
		//-->
</script>

